﻿using Core.Domain.Users.Events;
using Core.EventBus;
using System;
using System.Collections.Generic;
using System.Text;

namespace Core.Domain.Users.EventHandler
{
    public class FinishTaskEventHandler : IEventHandler<FinishTaskEvent>
    {
        public void Handle(FinishTaskEvent e)
        {
            e.FinishUser.Bonus += e.Bonus;
        }
    }
}
